import pandas as pd
import os,sys
root = os.path.dirname(os.path.dirname(__file__))
sys.path.append(root)
from DRF_MOVIE.settings import DATABASES

from utils.sql_utils import MysqlCURD

mysql = MysqlCURD(DATABASES['default']['HOST'],
                  3306,
                  DATABASES['default']['USER'],
                  DATABASES['default']['PASSWORD'],
                  database="DRF_MOVIE"
                  )
mysql.Get_Connection()
mysql.Excute_SqlFile("daxiongDjango\DRF_MOVIE\DataLoader\movie.sql")
mysql.Close()